// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  // font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: left;
    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

.el-button--primary:focus, .el-button--primary:hover {
  background: #409EFF;
  border-color: #409EFF;
}

.el-date-editor .el-range-separator{
  width: 20px;
  font-size: 12px;
}

.el-scrollbar.app-scroll{
  height: 100vh;
}

.el-table__header{
  width: 100% !important;
}
.el-table__body{
  width: 100% !important;
}
.app-container-detail .el-form .flex-c .el-form-item {
  width: 20%;
  margin-bottom: 0;
  border-bottom: 1px solid #dcdfe6;
  padding-top: 12px;
  overflow: hidden;
  padding: 10px;
  // text-overflow: ellipsis;
  // white-space: nowrap;
}
.app-container-detail .el-form .flex-c .el-form-item .el-form-item__content {
  height: 50px;
  word-break: break-all;
  display: table-cell;
}
.el-table th, .el-table td {
  overflow: hidden;}
.el-table .cell{
  word-break: break-word;
  padding: 10px;
  text-align: left;
}
.el-table th.is-leaf {
  background: #fbfbfb;
  border: none;
  padding: 10px 0;
}
.el-table th {
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding:5px 3px 5px 20px;
}
.el-table__body-wrapper {
  overflow: hidden;
  position: relative;
  // padding-top: 10px;
}
.el-dialog{
  background: #fff;
  .el-dialog__body{
    padding: 20px;
  }
}

.no-label {
  .el-radio__label{
    display: none !important;
  }
}

.el-textarea .el-input__count{
  background: transparent;
}


.el-table td{
  padding: 0;
}

.el-table tr{
  background: transparent;
}
.el-table__body tr:hover > td {
  background: initial !important;
}
 .el-table__body tr.el-table__row--striped:hover > td {
  background: #FAFAFA !important;
}
